package org.mathig.poker.hand;

import java.util.List;

import org.mathig.poker.Card;
import org.mathig.poker.PokerRank;

public class Pair extends ManyOfAKind {

	public Pair(List<Card> manyOfAKind, List<Card> kickers) {
		super(manyOfAKind, kickers);
	}

	public PokerRank getPokerRank() {
		return PokerRank.PAIR;
	}

	@Override
	public String toString() {
		return "pair of " + getRank();
	}
}
